package com.baidu.project.chart3;

public class Test {
    public static void main(String args[])
    {
        Factory factory1 ;
        television TV;
        AirConditioner conditioner;
        factory1 = new HaierFactory();
        TV =  factory1.CreateTV();
        TV.display();
        conditioner = factory1.CreateConditioner();
        conditioner.display();

    }
}